package com.hotelmanage.hm.mapper;

import com.hotelmanage.hm.po.OrderPO;
import com.hotelmanage.hm.po.OrderPOExample;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OrderPO record);

    int insertSelective(OrderPO record);

    OrderPO selectOneByExample(OrderPOExample example);

    List<OrderPO> selectByExample(OrderPOExample example);

    OrderPO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OrderPO record);

    int updateByPrimaryKey(OrderPO record);
}